import Vue from "vue";
import vuex from "vuex";
import global from "./global.js";
import users from "./users.js";

import channel from "./channel.js";
import pops from "./pops.js";
import search from "./search.js";
import history from "./history.js";
import other from "./other.js";

Vue.use(vuex);
var store = new vuex.Store({
	modules: {
		global,
		users,
		channel,
		pops,
		search,
		history,
		other
	}
})

export default store;